Skip to content
#

input

Here are 941 public repositories matching this topic...

china-live
china-live commented Mar 26, 2020

(必填)这个需求解决了什么问题 What problem does this feature solve

?表格内有一个或多个操作按钮,我希望在点击这些按钮后显示loading,并在稍后处理完毕后恢复。

(必填)请填写问题链接来描述为什么无法实现该功能,例如(jsfiddlecodesandboxjsrun) Reproduction link

?如果要实现这样的功能,就需要使用 $event 把原生DOM 事件传入处理方法,但目前vxe-button好像无法这样传入(表格内用原生非vxe-按钮要单独调样式)。

mykter
mykter commented Mar 31, 2018

The README and provided example has:

let suggestions = states().filter((state) => {
    return state.name.toLowerCase().slice(0, inputLength) === inputValue
  })

I think it should be something equivalent to:

const suggestions = states().filter(
  state =>
    inputLength > 0 &&
    state.name.toLowerCase().slice(0, inputLength) === inputValue
)

Otherwise the sug

emilioheinz
emilioheinz commented Sep 5, 2019

It would be nice to remove some useless backets on documentation code.

Example:

<TextInputMask
  type={'cpf'}
  value={this.state.cpf}
  onChangeText={text => {
    this.setState({
      cpf: text
    })
  }}
/>

It would be better a example like this

<TextInputMask
  type='cpf'
  value={this.state.cpf}
  onChangeText={text => {
    this.setState({
      
hyperform
GeoffCapper
GeoffCapper commented Mar 26, 2020

I'm trying to use Hyperform to detect when the form switches between an invalid and valid state so I can switch disabling of the submit button.

If I monitor the "valid" event on the form it keeps getting triggered even though elements within the form are still invalid.

If I run form.checkValidity() on startup each field will indicate an "invalid" event and checkValidity returns false. It see

SrslyJosh
SrslyJosh commented Mar 4, 2020

Unless I've misunderstood the documentation, it doesn't seem like it's possible to have an arbitrary number of trailing arguments.

Let's say you want to write your own version of cat(1).

Based on the documentation, it seems like I should be able to use flaggy.TrailingArguments to get at the list of zero or more input files.

Unfortunately, if you actually try to use trailing arguments

amit1911
amit1911 commented Dec 15, 2016

I think it'll be useful if we can an option to display the chips under the input box instead of at the top as in cases when there are a lot of chips, the input keeps shifting down. it'll be nice to have the input stay at the top and the chips displayed under it. Take a look at the following pic.
![long list](https://cloud.githubusercontent.com/assets/3509404/21218405/714d870a-c2eb-11e6-9be2-c8f61

Dror-Bar
Dror-Bar commented Oct 3, 2018

Hi, in the examples you have a findFilm method that has this line of code:

const regex = new RegExp(${query.trim()}, 'i');

But if you type special characters in the autocomplete textinput (like + and others) it will crash the app. Special characters must be escaped.

An example fix:
const regex = new RegExp(${query.trim().replace(/[-[]/{}()*+?.\^$|]/g, "\$&")}}`, 'i

Improve this page

Add a description, image, and links to the input topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the input topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.