We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An issue while generating editor of type DatePicker or TimePicker, while using metadata. For example: HTML
<RadDataForm tkExampleTitle tkToggleNavButton #myDataForm [source]="person" [metadata]="personMetadata"></RadDataForm>
Typescript
this.person={ "name": "John", "age": 23, "email": "john@company.com", "city1": "New York", "street": "5th Avenue", "streetNumber": 11, "datefield":"2016-05-06" } this.personMetadata = { "isReadOnly": false, "commitMode": "immediate", "validationMode": "immediate", "propertyAnnotations": [ { "name": "name", "displayName": "Name", "groupName": "Main" }, { "name": "age", "displayName": "Age", "editor": "Number", "groupName": "Main" }, { "name": "email", "displayName": "E-Mail", "editor": "Email", "groupName": "Main" }, { "name": "city1", "displayName": "City1", "editor": "Picker", "valuesProvider": ["New York", "Test", "Los Angeles"], "groupName": "Main2" }, { "name": "street", "displayName": "Street Name", "groupName": "Main2" }, { "name": "streetNumber", "displayName": "Street Number", "editor": "Number", "groupName": "Main2" }, { "name": "datefield", "displayName": "datefield", "editor": "DatePicker", "groupName": "Main" } ] }
Error:
-[__NSCFString isEqualToDate:]: unrecognized selector sent to instance 0x600000a46240
The text was updated successfully, but these errors were encountered:
A workaround is to repete the DatePicker on the HMTL, like here : https://github.com/maatthc/ns_dataform
Sorry, something went wrong.
The fix is released in nativescript-ui-dataform@3.8.
No branches or pull requests
An issue while generating editor of type DatePicker or TimePicker, while using metadata. For example:
HTML
Typescript
Error:
The text was updated successfully, but these errors were encountered: