Skip to content

New TYPE_HIDDEN #1

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

Closed
wants to merge 2 commits into from
Closed

New TYPE_HIDDEN #1

wants to merge 2 commits into from

Conversation

thiagotalma
Copy link

I suggest that the DatePicker can also be used in a hidden field.

@kartik-v
Copy link
Owner

Thanks will check.

Meanwhile note that a BC breaking fix is planned for registering data plugins. It will allow one to attach multiple plugins to the same widget.

@thiagotalma
Copy link
Author

👍
The hidden field is useful when the date is not a direct input field. In my specific case, I use the DatePicker to control the display of a calendar listing the events for the selected day in the DatePicker.

However, I am having trouble with the bootstrap-datepicker.js (nothing related to its extension). After show you what is happening.

@thiagotalma
Copy link
Author

Hello @kartik-v
You could look at it?

It's really very simple, without break.

Sorry for the insistence but I need to send this modification to the beta and I do not want to create another widget.

Hug!

@kartik-v
Copy link
Owner

kartik-v commented Dec 3, 2014

Closed via upgrade to release v1.2.0.

  • The new markup type is called DatePicker::TYPE_BUTTON
  • The button markup can be controlled through a new property buttonOptions.

@kartik-v kartik-v closed this Dec 3, 2014
@thiagotalma thiagotalma deleted the hidden branch December 3, 2014 18:24
@thiagotalma
Copy link
Author

👍

@thiagotalma
Copy link
Author

@kartik-v Set the button icon as a constant is not the best option, because then you can not overwrite it.

@kartik-v
Copy link
Owner

kartik-v commented Dec 4, 2014

Check my earlier post and read the docs closely. You can overwrite the button markup using buttonOptions['label'].

@thiagotalma
Copy link
Author

Yes sir:exclamation:

Excuse me for disproportionate ignorance.

kartik-v pushed a commit that referenced this pull request Sep 4, 2017
Make form-control class optional for input
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants