Blank date required
See original GitHub issueI am looking to see if this control can be used when a date can be entered or not depending on needs. In my case the user records the last date an event occurred, but it is possible that the event has not occurred before and should be blank. Currently the angularJS Model is not updated by clearing an input box:
<input required="false" format="yyyy-MM-dd" type="text" min-view="date" date-time data-ng-model="last_action">{{last_action}}
Is there a way to allow the clearing of the input box to update the model?
Issue Analytics
- State:
- Created 9 years ago
- Reactions:1
- Comments:16
Top Results From Across the Web
Error creating a List entry with blank date field from a MS Form
Solved: I have a MS Form to capture requests for a service. The form has several date fields, but are not mandatory as...
Read more >How to Blank Date value in Date formula field?
Are you trying to create a field to hold the closed date? If yes then you can not use the formula field, you...
Read more >setting blank value to date field - Salesforce Developers
Hello, I have a custom field TEXT__C Date. I set some date. its ok untill now. From the backed i want to reset...
Read more >Checking if a non required date field is blank - ODK Forum
Hi all, trying to check if a non required date field is blank or rather has no value entered so I can use...
Read more >Datepicker allow blank date submission - Stack Overflow
Is there a simple way we can allow submission of a blank date in addition to the normal date of the stated ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1
Ideally the plugin should detect if the field is optional, and if it is, then allow for blank/nullable fields
On further review it also appears that the date-picker is triggering an automated validation which prevents an input being left blank when saving a form. Any thoughts on how to allow this would be much appreciated.