Comments (9)
@lexlexa @Vincz Does the PR I've opened something that you guys were talking about? Let's push it to be merged 😃
from picker.
Hi guys! I would also like to be able to customise the underlaying input. The way @lexlexa suggest would be fine, or an additional parameters with input props would be fine to.
Thanks!
from picker.
Hey guys! I also would like a way to customize input, my use case is simple - I want to prevent letter typing. It will be a bit more complicated than the example in the issue as the user has to be responsible for rendering props inputRender
provides. Would be happy to create a PR for this!
from picker.
Hey @mhryshkin! Thank you for this PR. If I remember correctly, my use case was the same as @lexlexa
I wanted to add a react-mask on the input. From what I understand from your PR, it would be fine as it would allow a total control on the rendered input. Fine by me then! Thanks again!
from picker.
Any chance this will be merged anytime soon?
from picker.
It's been a while since the PR was opened, it solves my issue.
Any chance it's going to be reviewed and merged?
from picker.
@evankazadaiev I don't believe it will be merged =(
from picker.
Add prop to customize input fields.
Example
<Picker inputRender={field => <div>{field}</div>} />Case example: Add mask
pls add this feature to RangePicker too
Works only for Picker now
from picker.
Add prop to customize input fields.
Example<Picker inputRender={field => <div>{field}</div>} />Case example: Add mask
pls add this feature to RangePicker too Works only for Picker now
I also want this feature to RangePicker
from picker.
Related Issues (20)
- RangePicker inputRender prop HOT 1
- Can "format" take effect on the title attribute?
- crash on disabledSeconds is not a function
- Support `onClear`
- Deprecated event.which property HOT 1
- rangepicker不支持受控
- When using date-fns, all locales are imported HOT 2
- Add property to remain position after picking a value
- Jest issue TypeError: generateConfig[fn] is not a function HOT 4
- the parameter of `onChange` is wrong when I click cancel button in `RangePicker` HOT 2
- TypeScript error in SinglePickerPanelProps interface during build process HOT 4
- "version": "4.3.0" ref转发的blur方法需要调用
- onCalendarChange is called with wrong value if only one value set in RangePicker
- Why the locale ko-KR uses dayFormat 'Do' as other locales don't?
- When selecting values in panel with type different than the picker type dates are auto-selected.
- picker3.14.6版本 TS1005
- DatePicker 中的 disabledDate 属性在选择年的时候 有异常
- V4.4.2 版本 TimePicker.RangePicker 样式问题
- Entering date manually in custom date-fns date picker with format
- TimePicker panel will keep scrolling after select a time. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picker.