Comments (16)
What is incorrect? Icon on button?
from umi.
Icon is fine, actually it doesn't take it to the next field because in plug-in, all new fields are being generated and original ones are hide, when I try to activate/focus on next field from this button, it doesn't focus on next field
from umi.
Yeah, it's true. Select between default,next,done button is just icon representation. Functionality you should make by yourself by adding listener to OnReturn event:
public void OnReturn () { NextTextField.SetFocus(true); }
from umi.
I already applied the functionality through listener
and debugging its being called, but the issue is it doesn't focus on next field.
because it's trying to access the original field and original field is disabled by newly made fields.
how can I get reference or access of these newly made fields?
from umi.
You should set fields in inspector or by code and apply focus to it. It should works.
public MobileInputField InputFirstText;
public MobileInputField InputSecondText;
...
public void OnReturn () { // set this to OnReturn on InputFirstText
InputSecondText.SetFocus(true);
}
from umi.
Thank you so much, it worked perfectly fine!
from umi.
One more thing,
As sprite I applied doesn't show,
1-a white image comes up on text as I go down. how can I avoid it?
2- how can I keep the original sprites and change them depending on the focus, and how can I avoid the this white image?
from umi.
Set alpha to 0 for inputfield image normal color, and background will be transparent
from umi.
And font also gets changed.
from umi.
Set alpha to 0 for inputfield image normal color, and background will be transparent
Actually I am swiping the sprites rather than color change.
from umi.
Font change now is not available. You can change font color only.
from umi.
Font change now is not available. You can change font colour only.
Actually I am not changing the font, was just using a bold font, but it appeared as light font different than original one.
from umi.
Ok, will check it
from umi.
Does it allow to swipe the sprites??
from umi.
In current realization just these params can be send to plugin:
public bool Multiline;
public Color TextColor;
public Color BackgroundColor;
public string ContentType;
public string InputType;
public string KeyboardType;
public float FontSize;
public string Align;
public string Placeholder;
public Color PlaceholderColor;
public int CharacterLimit;
from umi.
I see, thank you so much for quick replies and for this package.
from umi.
Related Issues (20)
- Any plans to make it compatible with TextMeshPro Input? HOT 1
- issue with SetVisible is not showing the text if gameObject is deactivated and activated again
- OnShowKeyboard каждый раз присылает разное значение высоты клавиатуры HOT 1
- Pasting long text ends up looping OnReceivedData
- Exception: common.aar plugin with the same name and architecture was already added HOT 4
- Can't auto hide HOT 2
- Orientation problems. [iOS] HOT 1
- Option to make text readonly HOT 2
- Changing InputField Content Type
- Native inputbox is slow to respond when updating visibility and when initializing
- Dark theme troubles
- Caret moving to beginning undesirably when SetTextData() is called.
- Is there a way to prevent appear the keyboard when scrolling? (For Android)
- Possible security issue HOT 4
- Cannot change input value from code HOT 1
- Input Field does not move with ScrollRect in Android build HOT 1
- Input Field does not adhere to UI Masks in Android build HOT 1
- iOS password keychain stopped working with iOS 15
- hide the suggestions list above the keyboard on Android and iOS?
- 隐藏输入框后的高度怎么计算
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 umi.