question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

the validator doesn't work with customEditor?

See original GitHub issue

I have a custom column like this:

<TableHeaderColumn dataField="phone" editable={{validator: phoneNumberValidator}} dataSort={true} dataFormat={phoneFormatter} customEditor={ { getElement: createPhoneEditor } } editable={{validator: phoneNumberValidator}}>Phone Number</TableHeaderColumn>

However adding the validator does not do anything here. Do I need to add the validator to my phoneEditor class? Or how can I invoke the validator in a customEditor?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
bennnjamincommented, Feb 16, 2017

Thanks for following up! I am currently using 3.0 beta so please let me know when you push a fix and I will install the latest version and test.

0reactions
bennnjamincommented, Oct 17, 2018

@ramovald This project is no longer being maintained. @AllenFang is recommending to switch to https://github.com/react-bootstrap-table/react-bootstrap-table2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom validation problem while using custom cell editor
Dear DevExtreme Team, I have a problem with the custom validation in the grid that I am working with. I am using the...
Read more >
Validator templates bug in custom editor in Kendo UI for jQuery
First problem: When i focusing <input> and then focus another element or empty space both validations are displayed simultaneously. How i can ...
Read more >
How to make customEditor in Spring dynamic enough to call ...
Based on the response above,the JSR-303 way seems don't work. The solution in this post can work. Hope it can help.
Read more >
Custom Editor Provider Validation | Infragistics Forums
I have implemented custom editor provider by keeping input type text and then attached jqueryui.datepicker to that input type. But the problem I ......
Read more >
Validator returning undefined while adding required field to ...
I am using a custom editor template for the editor window. ... This will help to validate the issue and provide prompt solution...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found