#!/bin/bash
# Script to add dir="auto" to all input and textarea elements
# This enables automatic RTL/LTR detection for mixed content
find ./src -name "*.jsx" -type f -exec sed -i 's/]*\)\(type="text"\|type="email"\|type="url"\|type="search"\)\([^>]*\)>//g' {} \;
find ./src -name "*.jsx" -type f -exec sed -i 's/