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

How to change input mode from outline into no border? #151

Open
muslimmuda15 opened this issue May 4, 2023 · 3 comments
Open

How to change input mode from outline into no border? #151

muslimmuda15 opened this issue May 4, 2023 · 3 comments

Comments

@muslimmuda15
Copy link

image

Just like the image, I have no any clue from documentation about how to change it

@TaranVitalii
Copy link

TaranVitalii commented Aug 10, 2023

it can be like hot fix, if you find better approach I would be happy to see a solution

        value={value}
        isFocused={isFocused}
        onFocus={onFocus}
        onBlur={onBlur}
        onChangeText={onChangeText}
        containerStyles={styles.containerStyles}
        inputStyles={styles.inputStyles}
        labelStyles={styles.labelStyles}
        customLabelStyles={styles.customLabelStyles}
        rightComponent={
          isPresent(value) ? (
            <S.RightSideButtons>
              <TouchableOpacity onPress={onClearHandler}>
                <Icon width="24" height="24" name="clear" />
              </TouchableOpacity>
            </S.RightSideButtons>
          ) : undefined
        }
        {...props}
        label={getTranslation(label) as string}
      />
        borderBottomWidth: 1,
        borderBottomColor: theme.colors.strokeGrey,
        backgroundColor: '#00000000',
        paddingTop: 10,
        marginBottom: 24,
        ...(containerStyles && containerStyles),
      },
      inputStyles: {
        fontSize: 20,
        fontWeight: '600',
        fontFamily: FONTS.INTER_REGULAR,
      },
      labelStyles: {
        fontWeight: '400',
        fontFamily: FONTS.INTER_REGULAR,
      },
      customLabelStyles: {
        topFocused: -20,
        leftBlurred: 1,
        colorBlurred: theme.colors.normalBlack,
        colorFocused: theme.colors.activeBlack,
      },

@mathan26
Copy link

Any other solution ?

@Jamal-ReachFirst
Copy link

Required feature

type = "float" or "outlined"

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

No branches or pull requests

4 participants