-
Notifications
You must be signed in to change notification settings - Fork 533
create native HTML5 fields #50
New issue
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
Comments
date
, datetime
, time
fields
specific to text, search, tel, url or email:
💥 More HTML5! 💥 |
HTML5 range is exist as what is the |
Yeah, sorry I forgot to remove that sentence.
I think the goal for v1.0.0 is to have all attributes exposed for native HTML5 fields. |
I think, the |
Yes, but if you change the width via styleClasses and then, you may want to use it for some reason. I mean, it don't cost much to add, why not add it just in case someone needs it ? |
@icebob We need a |
Yes, I added to the list. |
I'm going to work on a html5 field based on |
good solution, thanks! |
I'm unsure with the {
type: "text",
label: "Name",
model: "name"
} but after this feature, it will be more complex and harder to read: {
type: "html5",
inputType: "text",
label: "Name",
model: "name"
} So I think would be good to stay the current format. But need to rewrite the It would be smarter. So it will try to search the field by the exact name ( |
I have a counter arguments: putting them under the "html5" umbrella avoid collision with other potential field name, especially since custom fields exist. Also most other fields use special properties already and it is not a big problem. Maybe the name should change from "html5" to {
type: "input", // more explicit
inputType: "text",
label: "Name",
model: "name"
} EDIT This fields is particular, because it is an interface to the native [1] I think we need to deprecate them and maybe remove them from 1.0.0 |
|
Ok since #70 is done, what's left is:
I'm going to start with the renaming, since it is fast and easy |
Great! I updated first post, plus added "update docs" task |
Ok, now are left |
Nice! Thank you. Btw: are we need |
No pb, I understand. Maybe you could add me as a collaborator ? If you don't feel like it, I perfectly understand, this is your project and you have complete control over it. I'm going to create a "radio**s**" field ;) |
A while ago, I'm thinking that I add you as a collaborator. Because you have a lot of hard work to improve this component, what I thank you. |
No problem, I would not like to push thing without your validation anyway :) |
@lionel-bijaoui Are you working anything from this issue? |
Yes, I'm on the "radios" field. I can do a PR tomorrow if you want to help (I very busy at work lately). |
Ok, I updated docs in html5 branch. |
@icebob I'm done with the doc ! |
Thanks! Tomorrow I will make the new release |
Because currently there is no vanilla datetime picker. Pickaday is only date selector.
datetime
field todatetimePicker
(break changes)slider
field torangeSlider
(break changes)Available types
Other HTML5 types
Set this inputType to the field type attributes:
The text was updated successfully, but these errors were encountered: