javascript - How can i use timepicker in angular schema forms -
i using angular schema forms
https://github.com/textalk/angular-schema-form/tree/master
there addon datepicker
https://github.com/textalk/angular-schema-form-datepicker
but not support timepicker.
how can add timepicker or datetime pickers there
date working fine this
scope.schema = { "type": "object", "properties": { "birthdate": { "title": "bday", "type": "string", "format": "date" }
} }
if wanted to, extend schema-forms. provide pretty detailed documentation on how so.
you can try use 1 has been built though. schema-form keeps directory of 3rd party additions schema-form here.
this date-time-picker available.
"type": "string" , "format": "datetimepicker"
options: { "key": "publish_at", "options": { "mindate": new date(), "minutestep": 15, "autoclose": 1 } },
Comments
Post a Comment