Skip to content
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

Revamp editable widget initialization and auto detection of input #44

Closed
kartik-v opened this issue Mar 19, 2015 · 0 comments
Closed

Revamp editable widget initialization and auto detection of input #44

kartik-v opened this issue Mar 19, 2015 · 0 comments

Comments

@kartik-v
Copy link
Owner

Enhancments and Changes that may mildly break BC .

  • The editable widget will now be initialized on the editable container Editable::$containerOptions['id'] and NOT via the editable input
  • A new boolean property autoGuessInput is added. The options for the input will be auto detected for all HTML inputs, Krajee Input widgets and DateControl - if autoGuessInput is set to true. If you use a custom widget that does not have options in one of the above -- then you can set autoGuessInput to false and necessarily add the CSS class kv-editable-input to your base input - so that the editable plugin can detect the input correctly.

The above changes will ensure consistency in editable maintenance - parsing the editable values and displayValueConfig correctly, and also consistency in usage of kartik\grid\EditableColumn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant