release: WRNexusJS 0.2.54
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
component RecurringSchedulePicker {
|
||||
props {
|
||||
id = "recurring-schedule"
|
||||
name = "recurrence"
|
||||
label = "Repeat"
|
||||
value = "none"
|
||||
disabled = false
|
||||
class = ""
|
||||
}
|
||||
view {
|
||||
<div class="wire-field {class}"><label for="{id}" class="wire-label">{label}</label><select id="{id}" name="{name}" disabled="{disabled}" class="wire-input"><option value="none" selected="{value === 'none'}">Does not repeat</option><option value="daily" selected="{value === 'daily'}">Daily</option><option value="weekly" selected="{value === 'weekly'}">Weekly</option><option value="monthly" selected="{value === 'monthly'}">Monthly</option><option value="yearly" selected="{value === 'yearly'}">Yearly</option></select></div>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user